<template>
    <div class = "navigation">
           <el-menu :default-active="activeIndex" class="el-menu-demo" mode="horizontal" @select="handleSelect" router>
            <el-menu-item index="/Navigationone">
                首页主导航
            </el-menu-item>
            <el-menu-item index="/Navigationtwo" >
                首页次导航
            </el-menu-item>
            <el-menu-item  index="/Navigationthree">
                轮播图管理
            </el-menu-item>
            </el-menu>
            <router-view></router-view>
    </div>
</template>
<script>
export default {
   data() {
      return {
        activeIndex: '/Navigationone',
      };
    },
    methods: {
     
    }
}
</script>
<style scoped>
    .navigation{
        width:100%;
        height:61px;
    }
    .el-menu{
        width:100%;
    }
</style>
